import Vue from 'vue';
import App from './App';
import VueRouter from 'vue-router';
import store from './vuex/index';
import axios from 'axios';

import routes from './routes';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './common/css/iconfont.css';
Vue.prototype.$http = axios;
Vue.use(VueRouter);
Vue.use(ElementUI);
const router = new VueRouter({
    routes
});
new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app');